package com.dave.procotol.service;

import com.dave.protocol.dao.TestDao;
import com.dave.protocol.entity.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @PageName com.dave.procotol.service
 * @Description s
 * @Author 何全裕
 * @Create 2017-07-31 21:28
 * @Version 1.0
 **/
@Service
public class Test {

    @Autowired
    private TestDao testDao;

    public SysUser getUser(String id){
        System.out.print("sssssss");
        return testDao.findById(id);
    }
}
